﻿using System.Diagnostics.Contracts;

namespace Library.Collections.Generic
{
    public interface IStack<TElement> : IStackReadOnly<TElement>, IIsReadOnly
    {
        bool Pop();

        bool Pop(out TElement item);

        bool Push(TElement item);
    }
}
